package com.coderman.common.starter.nacos.paperwork.service;

import com.alibaba.nacos.api.exception.NacosException;

import java.util.Map;

/**
 * Description:
 * date: 2020/10/12 3:31 下午
 *
 * @author fanchunshuai
 * @version 1.0.0
 * @since JDK 1.8
 */
public interface PaperTextService {

    /**
     * 根据dataid,groupid,varmap获取转换后的文案数据
     * @param dataId
     * @param groupId
     * @param varMap
     * @return
     */
    String getMsgFromTemplate(String dataId, String groupId, Map<String, String> varMap);
}
